import whois

print 'ip:'
print whois.whois('74.125.239.32')

print ''
print 'domain:'
print whois.whois('google.com')
